package com.kuang.pojo;

import java.util.Date;

public class User {
    private Integer id;
    private String avatar;
    private Date createTime;
    private String email;
    private String nickname;
    private String password;
    private Integer type;    // 用户的类型
    private Date updateTime;
    private String username;
    private String profile;
    private String location;
    private String skill;
    private String hobby;
    private String github;
    private String qq;
    private String wechat;
    private String siteName;
    private String siteIcon;
    private String siteDescription;
    private String siteKeywords;
    private String job;
    private String icp; // 备案号

    public User(Integer id, String avatar, Date createTime, String email, String nickname, String password, Integer type, Date updateTime, String username, String profile, String location, String skill, String hobby, String github, String qq, String wechat, String siteName, String siteIcon, String siteDescription, String siteKeywords, String job, String icp) {
        this.id = id;
        this.avatar = avatar;
        this.createTime = createTime;
        this.email = email;
        this.nickname = nickname;
        this.password = password;
        this.type = type;
        this.updateTime = updateTime;
        this.username = username;
        this.profile = profile;
        this.location = location;
        this.skill = skill;
        this.hobby = hobby;
        this.github = github;
        this.qq = qq;
        this.wechat = wechat;
        this.siteName = siteName;
        this.siteIcon = siteIcon;
        this.siteDescription = siteDescription;
        this.siteKeywords = siteKeywords;
        this.job = job;
        this.icp = icp;
    }

    public String getIcp() {
        return icp;
    }

    public void setIcp(String icp) {
        this.icp = icp;
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", avatar='" + avatar + '\'' +
                ", createTime=" + createTime +
                ", email='" + email + '\'' +
                ", nickname='" + nickname + '\'' +
                ", password='" + password + '\'' +
                ", type=" + type +
                ", updateTime=" + updateTime +
                ", username='" + username + '\'' +
                ", profile='" + profile + '\'' +
                ", location='" + location + '\'' +
                ", skill='" + skill + '\'' +
                ", hobby='" + hobby + '\'' +
                ", github='" + github + '\'' +
                ", qq='" + qq + '\'' +
                ", wechat='" + wechat + '\'' +
                ", siteName='" + siteName + '\'' +
                ", siteIcon='" + siteIcon + '\'' +
                ", siteDescription='" + siteDescription + '\'' +
                ", siteKeywords='" + siteKeywords + '\'' +
                ", job='" + job + '\'' +
                ", icp='" + icp + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getProfile() {
        return profile;
    }

    public void setProfile(String profile) {
        this.profile = profile;
    }

    public String getLocation() {
        return location;
    }

    public void setLocation(String location) {
        this.location = location;
    }

    public String getSkill() {
        return skill;
    }

    public void setSkill(String skill) {
        this.skill = skill;
    }

    public String getHobby() {
        return hobby;
    }

    public void setHobby(String hobby) {
        this.hobby = hobby;
    }

    public String getGithub() {
        return github;
    }

    public void setGithub(String github) {
        this.github = github;
    }

    public String getQq() {
        return qq;
    }

    public void setQq(String qq) {
        this.qq = qq;
    }

    public String getWechat() {
        return wechat;
    }

    public void setWechat(String wechat) {
        this.wechat = wechat;
    }

    public String getSiteName() {
        return siteName;
    }

    public void setSiteName(String siteName) {
        this.siteName = siteName;
    }

    public String getSiteIcon() {
        return siteIcon;
    }

    public void setSiteIcon(String siteIcon) {
        this.siteIcon = siteIcon;
    }

    public String getSiteDescription() {
        return siteDescription;
    }

    public void setSiteDescription(String siteDescription) {
        this.siteDescription = siteDescription;
    }

    public String getSiteKeywords() {
        return siteKeywords;
    }

    public void setSiteKeywords(String siteKeywords) {
        this.siteKeywords = siteKeywords;
    }

    public String getJob() {
        return job;
    }

    public void setJob(String job) {
        this.job = job;
    }

    public User() {
    }

    public User(Integer id, String avatar, Date createTime, String email, String nickname, String password, Integer type, Date updateTime, String username, String profile, String location, String skill, String hobby, String github, String qq, String wechat, String siteName, String siteIcon, String siteDescription, String siteKeywords, String job) {
        this.id = id;
        this.avatar = avatar;
        this.createTime = createTime;
        this.email = email;
        this.nickname = nickname;
        this.password = password;
        this.type = type;
        this.updateTime = updateTime;
        this.username = username;
        this.profile = profile;
        this.location = location;
        this.skill = skill;
        this.hobby = hobby;
        this.github = github;
        this.qq = qq;
        this.wechat = wechat;
        this.siteName = siteName;
        this.siteIcon = siteIcon;
        this.siteDescription = siteDescription;
        this.siteKeywords = siteKeywords;
        this.job = job;
    }
}
